﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Testing/DemoMasterPage.Master"
    AutoEventWireup="true" CodeBehind="DemoPage.aspx.cs" Inherits="AUV5.Web.Testing.DemoPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/!js/default.js" type="text/javascript"></script>
    <script type="text/javascript">

        var swfVersionStr = "9.0.0";
        var xiSwfUrlStr = "/!js/swfobject/playerProductInstall.swf";
        var flashvars = {};
        var params = {};
        params.quality = "high";
        params.bgcolor = "#000000";
        params.allowscriptaccess = "sameDomain";
        params.allowfullscreen = "true";
        params.wmode = ""; //transparent
        var attributes = {};
        attributes.id = "previewPlayer";
        attributes.name = "previewPlayer";
        attributes.align = "middle";
        swfobject.embedSWF("/!swf/VideoPlayer/VPlayer.swf?t=d&s=&v=/!swf/Wildlife.wmv&h=1&lo=1", "flashContent", "480", "270", swfVersionStr, xiSwfUrlStr, flashvars, params, attributes);

        //swfobject.createCSS("#flashContent", "display:block;text-align:left;");        
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <br />
        <div>
            Mail:<asp:TextBox ID="TextBox1" runat="server">winfar@qq.com</asp:TextBox>
            <asp:Button ID="Button1" runat="server" Text="SendMail" OnClick="Button1_Click" />
        </div>
        <br />
        Page:
        <asp:DropDownList ID="DropDownList1" runat="server">
        </asp:DropDownList>
        <div>
            <div id="flashContent">
                <p>
                    To view this page ensure that Adobe Flash Player version 9.0.0 or greater is installed.
                </p>
                <script type="text/javascript">
                    var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
                    document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
                            + pageHost + "www.adobe.com/../images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>"); 
                </script>
            </div>
        </div>
    </div>
</asp:Content>
